package com.vhall.component.plugin.common.constant;


import java.io.Serializable;

/**
 * @author dongsong
 */
public class AccountConstant implements Serializable {

    //男
    public static final Integer SEX_MEN = 1;
    //女
    public static final Integer SEX_WOMEN = 0;

    /**
     * 用户类型
     */
    //主持人
    public static final Integer TYPE_MASTER = 1;
    //观众
    public static final Integer TYPE_WATCH = 2;
    //助理人员
    public static final Integer TYPE_ASSISTANT = 3;
    //嘉宾/互动者
    public static final Integer TYPE_INTERACTION = 4;

    //用户状态-封停
    public static final Integer STATUS_DISABLED = -1;
    //用户状态-正常
    public static final Integer STATUS_ENABLED = 0;

    /**
     * 用户账号类型
     * 1、主持人 2、观众 3、游客
     */
    public static final int ACCOUNT_TYPE_MASTER = 1;
    public static final int ACCOUNT_TYPE_WATCH = 2;
    public static final int ACCOUNT_TYPE_VISITOR = 3;

    /**
     * 账号类型: 发起端=1
     */
    public static final Integer ACCOUNT_TYPE = 1;
    /**
     * token过期时间 7天
     */
    public static final long TOKEN_TIME = 604800L;

    public static final long AMIN_TOKEN_TIME = 86400L;

    /**
     * 控制台登录有效模块范围
     */
    public static final String[] ALLOW_MODULES = {"Console", "Api"};
    public static final String[] ALLOW_API_MODULES = {"Api"};


    /**
     * 4、代表助理
     */
    public static final Integer ACCOUNT_TYPE_ASSIST = 4;


    /**
     * 5、代表嘉宾
     */
    public static final Integer ACCOUNT_TYPE_GUEST = 5;
}
